package cn.zyb.org.service;
import cn.zyb.basic.service.IBaseService;
import cn.zyb.org.domain.Shop;
import cn.zyb.org.domain.ShopAuditLog;
import cn.zyb.org.domain.ShopDto;

import javax.mail.MessagingException;
import java.util.List;
/**
 * @author zyb
 * @version 1.0.0
 * @date 2022年07月06日 17:34:09
 * @packageName cn.zyb.org.service
 * @className IEmployeeService
 * @describe TODO
 */

/**
 * 接口：员工
 */
public interface IShopService extends IBaseService<Shop> {
  /**
   * 店铺入驻
   * @param shop
   */
  void settlement(Shop shop);
  void auditPass(ShopAuditLog shopAuditLog) throws MessagingException;

  void auditReject(ShopAuditLog shopAuditLog) throws MessagingException;

  List<ShopDto> getCountByState();

  void active(Long id);
}
